package com.zxb.annotation;

import java.lang.annotation.*;

/**
 * @author Administrator
 */
@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AutoWired {
    /**
     * 必须有实现类
     * @return
     */
    boolean required() default true;

    /**
     * 值
     * @return
     */
    String value() default "";
}
